package com.zjitc.token;

import com.zjitc.dao.UserDao;
import com.zjitc.model.Emp;
import java.io.IOException;
import java.sql.Connection;
import java.util.ArrayList;
import java.util.List;
import org.apache.ibatis.session.Configuration;
import org.apache.ibatis.session.ExecutorType;

import org.apache.ibatis.session.SqlSession;

import org.apache.ibatis.session.TransactionIsolationLevel;
import org.junit.Test;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/9 15:50
 * @description:
 */
public class T {
  @Test
  public void testBatchSave() throws IOException {
    try
    {
      List<Emp> emps=new ArrayList<Emp>();
      emps.add(new Emp("a",12,"w"));
      emps.add(new Emp("b",13,"m"));
    }catch (Exception e){
      System.out.println("defeat");
    }
    //finally {
    //  openSession.close();
    //}

  }
}
